package com.learn.spring.async;

import com.learn.spring.async.order.PlaceOrderReqVO;
import com.learn.spring.async.service.OrderService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class SpringEventCustomTaskAsyncApplicationTests {

    @Test
    void contextLoads() {
    }
    @Autowired
    private OrderService orderService;


    @Test
    void placeOrder() {
        PlaceOrderReqVO placeOrderReqVO = new PlaceOrderReqVO();
        orderService.placeOrder(placeOrderReqVO);
    }
}
